<template>
  <div>
    <el-col>
      <p class="table-show-title">维修基础信息</p>
      <el-col :span="24">
        <el-col v-for="item in dataModel.detailInfo" :key="item.name" :span="12" class="text">
          <span v-if="!item.isHiddan" class="label">{{ item.label }}:</span>
          <span v-if="!item.isHiddan" class="value">{{ item.value }}</span>
        </el-col>
      </el-col>

      <span />
    </el-col>
    <el-col>
      <p class="table-show-title">备品备件信息</p>
      <el-col :span="24">
        <el-col v-for="item in dataModel.supplyInfo" :key="item.name" :span="12" class="text">
          <span v-if="!item.isHiddan" class="label">{{ item.productName }}*</span>
          <span v-if="!item.isHiddan" class="value">{{ item.stockNum }}</span>
        </el-col>
      </el-col>

      <span />
    </el-col>
  </div>
</template>
<script>

export default {
  props: ['dataModel'],

  data() {
    return {}
  }
}
</script>
<style lang="scss">
.table-show-title{
    padding:5px 0;
    border-bottom:1px solid #999;
}
.text{
    margin:20px 0;
    color: #999;
}
</style>
